package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.playable.RallyPoint;
/**
 *
 * @author joseph
 */
public class BuildUniversity extends Build{
    public BuildUniversity(RallyPoint rallyPoint){
        super(rallyPoint);
    }
    @Override
    public BuildUniversity clone() {
        return new BuildUniversity(getRallyPoint());
    }
    @Override
    public void executeCommand() {
        ((Buildable)getRallyPoint()).buildUniversity(getNumWorkers());
    }
    @Override
    public String toString(){
        return "Build University";
    }
}
